﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infrastructure.ObjectModel;
using B10_Ex02_Elad_034695114_Meyron_026607788;
using Microsoft.Xna.Framework;

namespace B10_Ex02_Elad_034695114_Meyron_026607788.ObjectModel
{
    public class InvadorBackground : Sprite
    {
        public InvadorBackground(Invadors i_game, string i_assetName)
            : base(i_assetName, i_game)
        {
            // register in the game:
            this.Game.Components.Add(this);
            this.DrawOrder = 1;
        }

        protected override void InitBounds()
        {
            this.PositionOfOrigin = Vector2.Zero;
            base.InitBounds();
        }
    }
}
